/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package components;

import java.awt.Color;
import java.awt.Dimension;
import javax.swing.Icon;
import javax.swing.JLabel;

/**
 *
 * @author havardaxelsen
 */
public class NLabel extends JLabel{
    
    Color c = new Color(255,155,240,100);
    
    public NLabel(String txt){
        
        setText(txt);
        setBackground(c);
        setMinimumSize(new Dimension(300, 40));
    }
    
    public NLabel(Icon i){
        super(i);
    }
     
}
